using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._IndoorsTools._IndoorsNetwork
{
    /// <summary>
    /// <para>Classify Indoor Pathways</para>
    /// <para>Classifies pathways that pass through selected unit spaces, such as conference rooms or service areas, as lower priority.</para>
    /// <para>将通过选定单元空间（如会议室或服务区）的路径分类为优先级较低的路径。</para>
    /// </summary>    
    [DisplayName("Classify Indoor Pathways")]
    public class ClassifyIndoorPathways : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ClassifyIndoorPathways()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_unit_features">
        /// <para>Input Unit Features</para>
        /// <para>The input polygon features representing spaces in a building for which the Target Pathways parameter values will be classified. In the ArcGIS Indoors Information Model, this is the Units layer.</para>
        /// <para>输入面要素表示建筑物中的空间，目标路径参数值将对其进行分类。在 ArcGIS Indoors 信息模型中，这是 Units 图层。</para>
        /// </param>
        /// <param name="_target_pathways">
        /// <para>Target Pathways</para>
        /// <para>The existing feature class or feature layer in which pathways will be updated. In the Indoors model, this is the Pathways layer.</para>
        /// <para>将在其中更新路径的现有要素类或要素图层。在 Indoors 模型中，这是 Pathways 图层。</para>
        /// </param>
        public ClassifyIndoorPathways(object _in_unit_features, object _target_pathways)
        {
            this._in_unit_features = _in_unit_features;
            this._target_pathways = _target_pathways;
        }
        public override string ToolboxName => "Indoors Tools";

        public override string ToolName => "Classify Indoor Pathways";

        public override string CallName => "indoors.ClassifyIndoorPathways";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_unit_features, _target_pathways, _updated_pathways];

        /// <summary>
        /// <para>Input Unit Features</para>
        /// <para>The input polygon features representing spaces in a building for which the Target Pathways parameter values will be classified. In the ArcGIS Indoors Information Model, this is the Units layer.</para>
        /// <para>输入面要素表示建筑物中的空间，目标路径参数值将对其进行分类。在 ArcGIS Indoors 信息模型中，这是 Units 图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Unit Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_unit_features { get; set; }


        /// <summary>
        /// <para>Target Pathways</para>
        /// <para>The existing feature class or feature layer in which pathways will be updated. In the Indoors model, this is the Pathways layer.</para>
        /// <para>将在其中更新路径的现有要素类或要素图层。在 Indoors 模型中，这是 Pathways 图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Pathways")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _target_pathways { get; set; }


        /// <summary>
        /// <para>Updated Pathways</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Pathways")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_pathways { get; set; }


        public ClassifyIndoorPathways SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}